import time

from Model.video_info_model import VideoInfoModel
from douyin_download.browser_mian import BuildQueryRequest
from icecream import ic

if __name__ == '__main__':
    while True:
        result = VideoInfoModel(BuildQueryRequest().get_video_info()).get_available_videos_by_timediffence(auto_down=True)
        time.sleep(60)
        ic(result)